package com.cloudfun.campusshare.common.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;

/**
 * Created by CodeGenerator on 2020/08/14
 */
@Data
@ApiModel("提现申请DTO")
public class WithdrawApplicationDTO {

    @ApiModelProperty("提现金额")
    private String withdrawalAmount;

    @ApiModelProperty("出款目的")
    @NotEmpty(message = "出款目的不能为空")
    @Length(min = 1, max = 200, message = "出款目的限制1-200个字符")
    private String memo;
}